package com.yuda.campsite.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 campsite_work_student
 *
 * @author wyn
 * @date 2021-12-06
 */
public class CampsiteWorkStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 引用 camp_conf表的主键 */
    @Excel(name = "引用 camp_conf表的主键")
    private Long campId;

    /** 第几次作业 */
    @Excel(name = "第几次作业")
    private Long stuWorkNum;

    /** 作业内容 */
    @Excel(name = "作业内容")
    private String stuAnswer;

    /** 作业发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "作业发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 作业截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "作业截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 作业删除 1：删除  0：未删 */
    @Excel(name = "作业删除 1：删除  0：未删")
    private Integer idDelete;

    /** 作业附件 url */
    @Excel(name = "作业附件 url")
    private String stuEnclosureUrl;

    /** 引用 campsite_work_teacher 的主键 */
    @Excel(name = "引用 campsite_work_teacher 的主键")
    private Long campWorkTid;

    /** student_id  */
    @Excel(name = "student_id ")
    private String studentId;

    /** 学生分数 */
    @Excel(name = "学生分数")
    private String score;

    /** 教师评语 */
    @Excel(name = "教师评语")
    private String teacherCommment;

    /**作业是否提交*/
    @Excel(name ="作业是否提交")
    private Integer isPut;

    /**作业是否批改*/
    @Excel(name ="作业是否批改")
    private Integer isRevise;

    /**前台使用的url*/
    @Excel(name ="url后缀")
    private String identity;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public Integer getIsPut() {
        return isPut;
    }

    public void setIsPut(Integer isPut) {
        this.isPut = isPut;
    }

    public Integer getIsRevise() {
        return isRevise;
    }

    public void setIsRevise(Integer isRevise) {
        this.isRevise = isRevise;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCampId(Long campId)
    {
        this.campId = campId;
    }

    public Long getCampId()
    {
        return campId;
    }
    public void setStuWorkNum(Long stuWorkNum)
    {
        this.stuWorkNum = stuWorkNum;
    }

    public Long getStuWorkNum()
    {
        return stuWorkNum;
    }
    public void setStuAnswer(String stuAnswer)
    {
        this.stuAnswer = stuAnswer;
    }

    public String getStuAnswer()
    {
        return stuAnswer;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setIdDelete(Integer idDelete)
    {
        this.idDelete = idDelete;
    }

    public Integer getIdDelete()
    {
        return idDelete;
    }
    public void setStuEnclosureUrl(String stuEnclosureUrl)
    {
        this.stuEnclosureUrl = stuEnclosureUrl;
    }

    public String getStuEnclosureUrl()
    {
        return stuEnclosureUrl;
    }
    public void setCampWorkTid(Long campWorkTid)
    {
        this.campWorkTid = campWorkTid;
    }

    public Long getCampWorkTid()
    {
        return campWorkTid;
    }
    public void setStudentId(String studentId)
    {
        this.studentId = studentId;
    }

    public String getStudentId()
    {
        return studentId;
    }
    public void setScore(String score)
    {
        this.score = score;
    }

    public String getScore()
    {
        return score;
    }
    public void setTeacherCommment(String teacherCommment)
    {
        this.teacherCommment = teacherCommment;
    }

    public String getTeacherCommment()
    {
        return teacherCommment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("campId", getCampId())
            .append("stuWorkNum", getStuWorkNum())
            .append("stuAnswer", getStuAnswer())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("idDelete", getIdDelete())
            .append("stuEnclosureUrl", getStuEnclosureUrl())
            .append("campWorkTid", getCampWorkTid())
            .append("studentId", getStudentId())
            .append("score", getScore())
            .append("teacherCommment", getTeacherCommment())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
